package com.mogoweb.sitemap;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MainActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        Button button_indoor_test = (Button)findViewById(R.id.button_indoor_test);
        button_indoor_test.setOnClickListener(new OnClickListener(){
        	public void onClick(View v) {
        		Intent intent = new Intent();
                intent.setClass(v.getContext(), InDoorTestActivity.class);//指明要跳转的Activity类
                startActivity(intent);
        	}
        });
    }
}